package Decorator;
import Component.Component;
public class Decorator extends Component{
    private Component initComponent;

    public Decorator(Component initComponent){

        this.initComponent = initComponent ;
    }

    @Override
    public void operation(String outText) {
        this.initComponent.operation(outText);

    }
}
